package main;

import org.apache.log4j.Logger;

import utility.AppUtilities;

public class StartMain {
	private final static Logger logger = Logger.getLogger(StartMain.class);

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		AppUtilities appUtilities = AppUtilities.createAppUtilities();
		if(appUtilities.isFILEOOExisting()) {
			logger.warn("An instance of this application may be runnign already.\n To run new instance:\n\t-Turn off the already running \n\t-Or delete file OOI.ooi in configuration folder.");
			System.exit(1);
		}

	}

}
